Integrand size = 13, antiderivative size = 12 \[ \int \frac {\csc ^3(x)}{i+\cot (x)} \, dx=i \text {arctanh}(\cos (x))-\csc (x) \]
[Out]
Time = 0.04 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {3582, 3855} \[ \int \frac {\csc ^3(x)}{i+\cot (x)} \, dx=-\csc (x)+i \text {arctanh}(\cos (x)) \]
[In]
[Out]
Rule 3582
Rule 3855
Rubi steps \begin{align*} \text {integral}& = -\csc (x)-i \int \csc (x) \, dx \\ & = i \text {arctanh}(\cos (x))-\csc (x) \\ \end{align*}
Both result and optimal contain complex but leaf count is larger than twice the leaf count of optimal. \(26\) vs. \(2(12)=24\).
Time = 0.18 (sec) , antiderivative size = 26, normalized size of antiderivative = 2.17 \[ \int \frac {\csc ^3(x)}{i+\cot (x)} \, dx=-\csc (x)+i \left (\log \left (\cos \left (\frac {x}{2}\right )\right )-\log \left (\sin \left (\frac {x}{2}\right )\right )\right ) \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 23 vs. \(2 (11 ) = 22\).
Time = 0.08 (sec) , antiderivative size = 24, normalized size of antiderivative = 2.00
method | result | size |
default | \(-\frac {\tan \left (\frac {x}{2}\right )}{2}-i \ln \left (\tan \left (\frac {x}{2}\right )\right )-\frac {1}{2 \tan \left (\frac {x}{2}\right )}\) | \(24\) |
risch | \(-\frac {2 i {\mathrm e}^{i x}}{{\mathrm e}^{2 i x}-1}+i \ln \left ({\mathrm e}^{i x}+1\right )-i \ln \left ({\mathrm e}^{i x}-1\right )\) | \(41\) |
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 48 vs. \(2 (10) = 20\).
Time = 0.26 (sec) , antiderivative size = 48, normalized size of antiderivative = 4.00 \[ \int \frac {\csc ^3(x)}{i+\cot (x)} \, dx=\frac {{\left (i \, e^{\left (2 i \, x\right )} - i\right )} \log \left (e^{\left (i \, x\right )} + 1\right ) + {\left (-i \, e^{\left (2 i \, x\right )} + i\right )} \log \left (e^{\left (i \, x\right )} - 1\right ) - 2 i \, e^{\left (i \, x\right )}}{e^{\left (2 i \, x\right )} - 1} \]
[In]
[Out]
\[ \int \frac {\csc ^3(x)}{i+\cot (x)} \, dx=\int \frac {\csc ^{3}{\left (x \right )}}{\cot {\left (x \right )} + i}\, dx \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 33 vs. \(2 (10) = 20\).
Time = 0.21 (sec) , antiderivative size = 33, normalized size of antiderivative = 2.75 \[ \int \frac {\csc ^3(x)}{i+\cot (x)} \, dx=-\frac {\cos \left (x\right ) + 1}{2 \, \sin \left (x\right )} - \frac {\sin \left (x\right )}{2 \, {\left (\cos \left (x\right ) + 1\right )}} - i \, \log \left (\frac {\sin \left (x\right )}{\cos \left (x\right ) + 1}\right ) \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 30 vs. \(2 (10) = 20\).
Time = 0.25 (sec) , antiderivative size = 30, normalized size of antiderivative = 2.50 \[ \int \frac {\csc ^3(x)}{i+\cot (x)} \, dx=-\frac {-2 i \, \tan \left (\frac {1}{2} \, x\right ) + 1}{2 \, \tan \left (\frac {1}{2} \, x\right )} - i \, \log \left (\tan \left (\frac {1}{2} \, x\right )\right ) - \frac {1}{2} \, \tan \left (\frac {1}{2} \, x\right ) \]
[In]
[Out]
Time = 12.73 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.92 \[ \int \frac {\csc ^3(x)}{i+\cot (x)} \, dx=-\frac {\mathrm {tan}\left (\frac {x}{2}\right )}{2}-\frac {1}{2\,\mathrm {tan}\left (\frac {x}{2}\right )}-\ln \left (\mathrm {tan}\left (\frac {x}{2}\right )\right )\,1{}\mathrm {i} \]
[In]
[Out]